package com.JohnCarloSalter.ReceiptFactory;

import com.JohnCarloSalter.bestbuy_coupons.CouponDecorator;
import com.JohnCarloSalter.bestbuy_headers.SecondaryHeaderDecorator;
import com.JohnCarloSalter.bestbuy_rebates.RebateDecorator;

//Class to hold information used in constructing receipts.
public class ConfigurationFile {
	private static String ADDRESS = "5555 Somewhere Place\nTowson, MD 21204";
	private static String PHONE_NUMBER = "301-410-8952";
	private static int STORE_NUMBER = 5105;
	private static String STATE_CODE = "MD";
	
	//List of the number of potential decorators to use.
	//The decoratores themselves should be updated into the packages automatically via
	//the Best Buy website.
	private static SecondaryHeaderDecorator[] secondaryHeaders = new SecondaryHeaderDecorator[1];
	private static RebateDecorator[] rebates = new RebateDecorator[1];
	private static CouponDecorator[] coupons = new CouponDecorator[1];
	
	//Method to set these values daily using the Best Buy server.
	//public void update() {
		//Method body.
	//}
	
	//Getters
	public static String getAddress() { return ADDRESS; }
	public static String getPhoneNumber() { return PHONE_NUMBER; }
	public static int getStoreNumber() { return STORE_NUMBER; }
	public static String getStateCode() { return STATE_CODE; }
	public static SecondaryHeaderDecorator[] getSecondaryHeaderDecoratorList() { return secondaryHeaders; }
	public static RebateDecorator[] getRebateDecoratorList() { return rebates; }
	public static CouponDecorator[] getCouponDecoratorList() { return coupons; }
}
